<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<div id="box">
			<button>点击</button>
			
		</div>
	</body>
	<script src="jquery-3.2.1.js"></script>
	
	<script type="text/javascript">
		
		
		$('button').click(function(){
			
			//冒泡 阻止冒泡
			alert('button事件触发了')
		})
		
		$('#box').click(function(){
			alert('22222');
		})
		
		
		
	</script>
</html>
